package com.example.his.api.mis.service;

import com.example.his.api.common.PageUtils;
import com.example.his.api.db.dao.UserDao;
import com.example.his.api.db.pojo.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;

public interface UserService {
    public Integer login(Map param);
    public int updatePassword(Map param);
    public PageUtils searchByPage(Map param);
    public int insert(UserEntity user);
    public HashMap searchById(int userId);
    public int update(Map param);
    public int deleteByIds(Integer[] ids);
    public int dismiss(int userId);
}
